package testes;
import java.util.ArrayList;
import java.util.List;

import easyaccept.EasyAcceptFacade;
import fachada.BuscapeFachada;
 

/**
 * TestEasyAccept
 * Testes de aceitacao 
 * @author Adriano de Albuquerque Batista
 * @author Alfeu Buriti
 * @author Pablo Diego Alencar
 * @author Yuri Cariry Cabral de Melo
 *
 */
public class TestEasyAccept {
 
 

	/**
	 * main
	 * @param args
	 * @throws Exception
	 */
	public static void main(String[] args) throws Exception {
		List<String> files = new ArrayList<String>();
		
		// Put the testScript1 file into the "test scripts" list		
		files.add("src/testes/us1.txt"); 		
		files.add("src/testes/us2.txt"); 	
		
		// Instantiate your software facade
		BuscapeFachada buscapeFachada = new BuscapeFachada();
		
		// Instantiate EasyAccept facade
		EasyAcceptFacade eaFacade = new EasyAcceptFacade(buscapeFachada, files);
 
		// Execute the tests 
		eaFacade.executeTests(); 

		// Print the tests execution results
		System.out.println(eaFacade.getCompleteResults());
	}

}	


